
package com.be.beadmin.quality.repository;

import com.be.beadmin.quality.entity.ProductSelfCheckInfor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zjm
* @date 2023-03-19
**/
public interface ProductSelfCheckInforRepository extends JpaRepository<ProductSelfCheckInfor, String>, JpaSpecificationExecutor<ProductSelfCheckInfor> {

    ProductSelfCheckInfor findProductSelfCheckInforByIdAndDelete(String id, Integer delete);
    ProductSelfCheckInfor findProductSelfCheckInforByProcessIdAndDelete(String id, Integer delete);
//    ProductSelfCheckInfor findProductSelfCheckInforByProcessIdAndDelete(String id, Integer delete);

    ProductSelfCheckInfor findProductSelfCheckInforById(String id);

}